package com.luych.toolbox.automation.service.dao;

import com.luych.toolbox.automation.service.entity.AutoTaskHistoryServer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AutoTaskHistoryServerDao extends JpaRepository<AutoTaskHistoryServer, String>, JpaSpecificationExecutor<AutoTaskHistoryServer> {

    List<AutoTaskHistoryServer> findByAutoTaskHistoryId(String autoTaskHistoryId);

    void deleteByAutoTaskHistoryId(String autoTaskHistoryId);
}